package com.zhongge.stackrealizequeue;

/**
 * @ClassName Test
 * @Description TODO
 * @Author zhongge
 * @Date 2025/8/25 17:50
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        MyQueue queue = new MyQueue();
        queue.push(10);
        queue.push(20);
        queue.push(30);
        System.out.println(queue.pop());
        System.out.println(queue.pop());
        System.out.println(queue.pop());
    }
}
